/* 
 * File:   Generation.h
 * Author: cuongnm
 *
 * Created on October 12, 2009, 11:51 PM
 */

#ifndef _GENERATION_H
#define	_GENERATION_H
#include<vector>
#include"math.h"
using namespace std;
class Generation{
private:
    long a;
    long c;
    long m;
    long Xo;
    int iNombreDesValeurs;
public:
    Generation(long a,long c,long m, long Xo,int iNombreDesValeurs);
    vector<double> process();
    vector<double> creerDistributionExponentielle(vector<double> vecUniform, double Lamda);
     long getNombreDesValeurs();
     vector<double> creerDistributionExponentielleRejet();
};


#endif	/* _GENERATION_H */

